﻿using System;

using System.Runtime.Serialization;
using MaLu.Data;

namespace Malu.Entity
{

    [Serializable]
    [DataContract(Name = "FMembraneDetails")]
    [Table("FMembraneDetails", Info = "")]
    public class Membrane : BaseEntity
    {
        [DataMember]
        [Column("id", DataType.Int32, Length = 4, CanNull = false, AutoIncrement = true, PrimaryKey = true)]
        public int id { get; set; }

        [DataMember]
        [Column("villageid", DataType.Int32, Length = 4)]
        public int villageid { get; set; }

        [DataMember]
        [Column("familyname", DataType.VarChar, Length = 50)]
        public string familyname { get; set; }

       

        [DataMember]
        [Column("kilos", DataType.Float)]
        public float kilos { get; set; }


        [DataMember]
        [Column("moneyperkilo", DataType.Float)]
        public float moneyperkilo { get; set; }

        [DataMember]
        [Column("money", DataType.Float)]
        public float money { get; set; }

        [DataMember]
        [Column("year", DataType.Int32, Length = 4)]
        public int year { get; set; }
    }
}
